Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-239162 | PHTN-67-000091 | SV-239162r675294_rule | Medium |
Description |
---|
Providing users with feedback on the last time they logged on via SSH facilitates user recognition and reporting of unauthorized account use. |
STIG | Date |
---|---|
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide | 2021-04-15 |
Check Text ( C-42373r675292_chk ) |
---|
At the command line, execute the following command: # sshd -T|&grep -i PrintLastLog Expected result: PrintLastLog yes If the output does not match the expected result, this is a finding. |
Fix Text (F-42332r675293_fix) |
---|
Open /etc/ssh/sshd_config with a text editor. Ensure that the "PrintLastLog" line is uncommented and set to the following: PrintLastLog yes At the command line, execute the following command: # service sshd reload |